package com.zhiyu.common;

import java.util.List;

public interface BaseMapper<T> {
    T get(Integer id);

    T get(T entity);

    List<T> findList(BaseEntity entity);

    int insert(T entity);

    int update(T entity);

    int delete(T entity);
}
